package ebroker.webservice.app;

import ebroker.webservice.ClientBalance;
import ebroker.webservice.service.EBrokerWebServiceClient;

import java.util.List;

import static ebroker.webservice.app.Constant.*;

public class App {
    public static void main(String[] args) {
        EBrokerWebServiceClient client = new EBrokerWebServiceClient(url, user, pwd);

        List<ClientBalance> list = client.getBalance(map.get("eb01"));

        for (ClientBalance balance : list) {
            System.out.println(balance);
        }
    }
}
